package com.hhm.spring.cloud.weather.service;

import java.util.List;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import com.hhm.spring.cloud.weather.vo.City;

/**
 * City Client.
 * 
 * @since 1.0.0 2017年11月28日
 * @author <a href="https://hhm.com">Way Lau</a>
 */
// @FeignClient("msa-weather-city-eureka")
@FeignClient(name = "msa-weather-eureka-client-zuul", fallback = DataClientFallback.class)
public interface CityClient {

	// @GetMapping("/cities")
	// List<City> listCity() throws Exception;

	@GetMapping("/city/cities")
	List<City> listCity() throws Exception;
}
